package com.ruoyi.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class BusContractCostDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 合同id */
    private Long contractId;

    /** 客户id */
    private Long customerId;

    @Excel(name = "客户名称",sort = 2)
    private String customerName;

    @Excel(name = "付款方式",width = 60 ,dictType = "bus_payment_type" ,sort = 3)
    private String paymentType;

    /** 合同编号 */
    @Excel(name = "合同编号",sort = 1)
    private String contractNo;

    /** 负责人 */
    @Excel(name = "负责人",sort = 4)
    private String director;

    /** 交货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deliveryDate;

    /** 合同金额 */
    @Excel(name = "合同金额",sort = 5,cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal contractSum;

    /** 总成本 */
    @Excel(name = "成本",sort = 6,cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal costSum;

    /** 毛利 */
    @Excel(name = "毛利",sort = 7,cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal grossProfit;

    /** 毛利率 */
    @Excel(name = "毛利率%",sort = 8,cellType = Excel.ColumnType.NUMERIC,scale = 2)
    private BigDecimal grossProfitProportion;

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public BigDecimal getContractSum() {
        return contractSum;
    }

    public void setContractSum(BigDecimal contractSum) {
        this.contractSum = contractSum;
    }

    public BigDecimal getCostSum() {
        return costSum;
    }

    public void setCostSum(BigDecimal costSum) {
        this.costSum = costSum;
    }

    public BigDecimal getGrossProfit() {
        return grossProfit;
    }

    public void setGrossProfit(BigDecimal grossProfit) {
        this.grossProfit = grossProfit;
    }

    public BigDecimal getGrossProfitProportion() {
        return grossProfitProportion;
    }

    public void setGrossProfitProportion(BigDecimal grossProfitProportion) {
        this.grossProfitProportion = grossProfitProportion;
    }



}